package com.woniuxy.microretailserver.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author chenhu
 * 分页类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})

public class PageRequest implements Serializable {

    private Integer limit;//每页显示的行数
    private Integer offset;//数据库的起始位置
    private Integer pageNum;//当前页
    private String sort;//排序
    private String sortOrder;//排序规则


}
